package com.example.demo14.javabean;


import org.litepal.crud.LitePalSupport;

/**
 * Book数据表
 */
public class Book extends LitePalSupport {

    private String author;
    private double price;
    private int pages;
    private String bookName;

    @Override
    public String toString() {
        return "Book{" +
                "author='" + author + '\'' +
                ", price=" + price +
                ", pages=" + pages +
                ", bookName='" + bookName + '\'' +
                '}';
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
}
